package com.jwthhealth_pub.wristband.rate.bean;

import java.util.List;

/**
 * Created by yang on 2018/1/3.
 */

public class RateYearBean {

    /**
     * code : 0
     * msg : 成功
     * data : [{"list":[{"name":"2018-12-01~2018-12-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-11-01~2018-11-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-10-01~2018-10-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-09-01~2018-09-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-08-01~2018-08-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-07-01~2018-07-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-06-01~2018-06-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-05-01~2018-05-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-04-01~2018-04-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-03-01~2018-03-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-02-01~2018-02-28","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-01-01~2018-01-31","min_xinlv":"76","max_xinlv":"67","avg_xinlv":"67"}],"name":"2018","min_xinlv":"76","max_xinlv":"67","avg_xinlv":"67","date":"2018-12-31"},{"list":[{"name":"2017-12-01~2017-12-31","min_xinlv":"56","max_xinlv":"57","avg_xinlv":"77"},{"name":"2017-11-01~2017-11-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-10-01~2017-10-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-09-01~2017-09-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-08-01~2017-08-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-07-01~2017-07-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-06-01~2017-06-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-05-01~2017-05-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-04-01~2017-04-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-03-01~2017-03-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-02-01~2017-02-28","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2017-01-01~2017-01-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"}],"name":"2017","min_xinlv":"56","max_xinlv":"57","avg_xinlv":"77","date":"2017-12-31"},{"list":[{"name":"2016-12-01~2016-12-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-11-01~2016-11-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-10-01~2016-10-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-09-01~2016-09-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-08-01~2016-08-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-07-01~2016-07-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-06-01~2016-06-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-05-01~2016-05-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-04-01~2016-04-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-03-01~2016-03-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-02-01~2016-02-29","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2016-01-01~2016-01-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"}],"name":"2016","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0","date":"2016-12-31"}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"name":"2018-12-01~2018-12-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-11-01~2018-11-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-10-01~2018-10-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-09-01~2018-09-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-08-01~2018-08-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-07-01~2018-07-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-06-01~2018-06-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-05-01~2018-05-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-04-01~2018-04-30","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-03-01~2018-03-31","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-02-01~2018-02-28","min_xinlv":"0","max_xinlv":"0","avg_xinlv":"0"},{"name":"2018-01-01~2018-01-31","min_xinlv":"76","max_xinlv":"67","avg_xinlv":"67"}]
         * name : 2018
         * min_xinlv : 76
         * max_xinlv : 67
         * avg_xinlv : 67
         * date : 2018-12-31
         */

        private String name;
        private String min_xinlv;
        private String max_xinlv;
        private String avg_xinlv;
        private String date;
        private List<ListBean> list;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMin_xinlv() {
            return min_xinlv;
        }

        public void setMin_xinlv(String min_xinlv) {
            this.min_xinlv = min_xinlv;
        }

        public String getMax_xinlv() {
            return max_xinlv;
        }

        public void setMax_xinlv(String max_xinlv) {
            this.max_xinlv = max_xinlv;
        }

        public String getAvg_xinlv() {
            return avg_xinlv;
        }

        public void setAvg_xinlv(String avg_xinlv) {
            this.avg_xinlv = avg_xinlv;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * name : 2018-12-01~2018-12-31
             * min_xinlv : 0
             * max_xinlv : 0
             * avg_xinlv : 0
             */

            private String name;
            private String min_xinlv;
            private String max_xinlv;
            private String avg_xinlv;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMin_xinlv() {
                return min_xinlv;
            }

            public void setMin_xinlv(String min_xinlv) {
                this.min_xinlv = min_xinlv;
            }

            public String getMax_xinlv() {
                return max_xinlv;
            }

            public void setMax_xinlv(String max_xinlv) {
                this.max_xinlv = max_xinlv;
            }

            public String getAvg_xinlv() {
                return avg_xinlv;
            }

            public void setAvg_xinlv(String avg_xinlv) {
                this.avg_xinlv = avg_xinlv;
            }
        }
    }
}
